package com.base.data.entity;

import com.mysteel.core.Entity;

/**
 * 
 * @author chendonglin
 *
 */
public class Qx implements Entity
{

	/**
	 * 
	 */
	private static final long serialVersionUID = 34442893139581057L;
	
	private long id;					//主键id
	
	private long parentId;				//父id
	private String url;					//url请求名
	private String name;				//权限名
	
	private String description;			//权限描述
	private long createTime;			//创建时间
	private long lastAccess;			//最后修改时间
	private boolean status;				//状态
	private String authorName;			//作者
	
	public Qx()
	{
		super ();
	}
	
	public Qx(long id, long parentId, String url, String name,
			String description, long createTime, long lastAccess,
			boolean status, String authorName)
	{
		super ();
		this.id = id;
		this.parentId = parentId;
		this.url = url;
		this.name = name;
		this.description = description;
		this.createTime = createTime;
		this.lastAccess = lastAccess;
		this.status = status;
		this.authorName = authorName;
	}
	public long getId()
	{
		return id;
	}
	public void setId(long id)
	{
		this.id = id;
	}
	public long getParentId()
	{
		return parentId;
	}
	public void setParentId(long parentId)
	{
		this.parentId = parentId;
	}
	public String getUrl()
	{
		return url;
	}
	public void setUrl(String url)
	{
		this.url = url;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getDescription()
	{
		return description;
	}
	public void setDescription(String description)
	{
		this.description = description;
	}
	public long getCreateTime()
	{
		return createTime;
	}
	public void setCreateTime(long createTime)
	{
		this.createTime = createTime;
	}
	public long getLastAccess()
	{
		return lastAccess;
	}
	public void setLastAccess(long lastAccess)
	{
		this.lastAccess = lastAccess;
	}
	public boolean isStatus()
	{
		return status;
	}
	public void setStatus(boolean status)
	{
		this.status = status;
	}
	public String getAuthorName()
	{
		return authorName;
	}
	public void setAuthorName(String authorName)
	{
		this.authorName = authorName;
	}
	public static long getSerialversionuid()
	{
		return serialVersionUID;
	}
	
}
